<?php
include('Smarty.class.php');
$smart = new Smarty();
$smart->config_dir = "config";
$smart->template_dir = "templates";
$smart->compile_dir = "templates_c";
$smart->cache_dir = "cache";
$smart->assign("name","Adham Metwaly Ahmed");
$smart->assign("user","Ali");
$smart->display("index.adh");
/*
include("control/control.php");
$c = (isset($_REQUEST['c']))? $_REQUEST['c']:"def";
$d = (isset($_REQUEST['d']))? $_REQUEST['d']:"def";
include("control/$c.php");
$cntrlr = new $c($_REQUEST);
//$cntrlr->$d($_REQUEST);
*/
?>